#import "WalkMap.h"
#import "BattlePanel.h"
#import "MeleeSequencePanel.h"
#import "RangedSequencePanel.h"
#import "SpellSequencePanel.h"
#import "Buffer.h"
#import "Screen.h"
@interface BattleScreen:Screen <UIScrollViewDelegate, TapWalkMapDelegate> 
{
  @private	
	UIScrollView* scrollscreen;
	UILabel* prompt;
	NSTimer* timer;
    
	BattlePanel* screen;
	MeleeSequencePanel* battle_anim;
	RangedSequencePanel* ranged_anim;
	SpellSequencePanel* spell_anim;
	WalkMap* map;
	TileSet* tileSet,*spriteSet,*enemySet,*npcSet,*gatewaySet;	
	UIImage* back;
	NSMutableArray* party,*enemies,*npcs,*gateways,*tiles;
	int tileSize,spriteSize,shopSize,itemHeight,itemWidth,movement;
	Entity* currentPlayer;

}
-(id) initWithFrame:(CGRect)frame buffer:(Buffer*)buffer;

@property (nonatomic, retain) TileSet* tileSet,*spriteSet,*enemySet,*npcSet,*gatewaySet;
@property (nonatomic, retain) NSMutableArray* party,*enemies,*npcs,*gateways,*tiles;

@property int spriteSize,tileSize;
-(id) initWithProperties:(NSString*)name;
-(void)initTiles:(NSMutableDictionary *)map;
-(void)initParty:(NSMutableDictionary *)map;
-(void)initEnemies:(NSMutableDictionary*) map ;
-(void)initNeutrals:(NSMutableDictionary*) map ;
-(void)initGateways:(NSMutableDictionary*) map ;

@end
